keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

No audio on OpenVox A800P

16 years 5 months ago #532 by james.zhu
hello, riccardocapra:
please post the configs and logs here, we will be able to help you.
Rgs!
james.zhu

16 years 5 months ago #541 by riccardocapra
Still not working, I don't understand why.

[root@elastix asterisk]# cat /etc/zaptel.conf
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
fxsks=1
fxsks=2
fxsks=3
fxoks=4
# channel 5, WCTDM, no module.
# channel 6, WCTDM, no module.
# channel 7, WCTDM, no module.
# channel 8, WCTDM, no module.
# channel 9, WCTDM, no module.
# channel 10, WCTDM, no module.
# channel 11, WCTDM, no module.
# channel 12, WCTDM, no module.

# Global data

loadzone = it
defaultzone = it

[root@elastix asterisk]# cat zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=it
;context=from-zaptel
context=default
signalling=fxs_ks
;signalling=fxo_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

busydetect=yes
busycount=4

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes

;callprogress=no

cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-channels.conf
;Include AMP configs
#include zapata_additional.conf

[Nov 21 15:32] VERBOSE[3821] logger.c: Asterisk Event Logger restarted
[Nov 21 15:32] VERBOSE[3821] logger.c: Asterisk Queue Logger restarted
[Nov 21 15:32] VERBOSE[3821] logger.c: -- Remote UNIX connection disconnected
[Nov 21 15:32] VERBOSE[2175] logger.c: -- Remote UNIX connection
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [93480682585@from-internal] Macro("SIP/201-b7901d00", "dialout-trunk|6|3480682585||") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "DIAL_TRUNK=6") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "DIAL_NUMBER=3480682585") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "ROUTE_PASSWD=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "1?noauth") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-dialout-trunk,s,6)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "0?disabletrunk|1") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "_NODEST=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "DIAL_TRUNK_OPTIONS=trwW") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "GROUP()=OUT_6") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Macro("SIP/201-b7901d00", "user-callerid|SKIPTTL") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] NoOp("SIP/201-b7901d00", "user-callerid: device 201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Noop
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "AMPUSER=201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] GotoIf("SIP/201-b7901d00", "0?report") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] GotoIf("SIP/201-b7901d00", "0?start") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "REALCALLERIDNUM=201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] NoOp("SIP/201-b7901d00", "REALCALLERIDNUM is 201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: NoOp
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "AMPUSER=201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "AMPUSERCIDNAME=Riccardo") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] GotoIf("SIP/201-b7901d00", "0?report") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "AMPUSERCID=201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "CALLERID(all)="Riccardo" <201>") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] Set("SIP/201-b7901d00", "REALCALLERIDNUM=201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] NoOp("SIP/201-b7901d00", "TTL: ARG1: SKIPTTL") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Noop
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] GotoIf("SIP/201-b7901d00", "1?continue") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-user-callerid,s,23)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-user-callerid] NoOp("SIP/201-b7901d00", "Using CallerID "Riccardo" <201>") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: NoOp
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Macro
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Macro("SIP/201-b7901d00", "record-enable|201|OUT") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-record-enable] GotoIf("SIP/201-b7901d00", "0?2:4") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-record-enable,s,4)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-record-enable] AGI("SIP/201-b7901d00", "recordingcheck|20071121-153304|1195655584.28") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Nov 21 15:33] VERBOSE[3827] logger.c: recordingcheck|20071121-153304|1195655584.28: Outbound recording not enabled
[Nov 21 15:33] VERBOSE[3827] logger.c: -- AGI Script recordingcheck completed, returning 0
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: AGI
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-record-enable] NoOp("SIP/201-b7901d00", "No recording needed") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Noop
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Macro
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "0?skipoutcid") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "DIAL_TRUNK_OPTIONS=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Macro("SIP/201-b7901d00", "outbound-callerid|6") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] GotoIf("SIP/201-b7901d00", "1?start") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-outbound-callerid,s,3)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] NoOp("SIP/201-b7901d00", "REALCALLERIDNUM is 201") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: NoOp
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] GotoIf("SIP/201-b7901d00", "1?normcid") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-outbound-callerid,s,9)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] Set("SIP/201-b7901d00", "USEROUTCID=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] DEBUG[3827] db.c: Unable to find key '201/emergency_cid' in family 'DEVICE'
[Nov 21 15:33] DEBUG[3827] func_db.c: DB: DEVICE/201/emergency_cid not found in database.
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] Set("SIP/201-b7901d00", "EMERGENCYCID=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] Set("SIP/201-b7901d00", "TRUNKOUTCID=") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] GotoIf("SIP/201-b7901d00", "1?trunkcid") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-outbound-callerid,s,16)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] GotoIf("SIP/201-b7901d00", "1?usercid") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-outbound-callerid,s,18)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] GotoIf("SIP/201-b7901d00", "1?report") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-outbound-callerid,s,22)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-outbound-callerid] NoOp("SIP/201-b7901d00", "CallerID set to "Riccardo" <201>") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: NoOp
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Macro
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "1?nomax") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-dialout-trunk,s,17)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] AGI("SIP/201-b7901d00", "fixlocalprefix") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Nov 21 15:33] VERBOSE[3827] logger.c: -- AGI Script fixlocalprefix completed, returning 0
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: AGI
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "OUTNUM=3480682585") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Set("SIP/201-b7901d00", "custom=ZAP/2") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: Set
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "1?gocall") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-dialout-trunk,s,24)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] GotoIf("SIP/201-b7901d00", "0?customtrunk") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-dialout-trunk] Dial("SIP/201-b7901d00", "ZAP/2/3480682585|300|") in new stack
[Nov 21 15:33] DEBUG[3827] dsp.c: dsp busy pattern set to 0,0
[Nov 21 15:33] DEBUG[3827] chan_zap.c: Dialing '3480682585'
[Nov 21 15:33] DEBUG[3827] chan_zap.c: Deferring dialing...
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Called 2/3480682585
[Nov 21 15:33] DEBUG[3827] chan_zap.c: Engaged echo training on channel 2
[Nov 21 15:33] DEBUG[3827] chan_zap.c: Echo cancellation already on
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Zap/2-1 answered SIP/201-b7901d00
[Nov 21 15:33] VERBOSE[2344] logger.c: -- Got SIP response 405 "Method Not Allowed" back from 192.168.1.119
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Hungup 'Zap/2-1'
[Nov 21 15:33] VERBOSE[3827] logger.c: == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/201-b7901d00' in macro 'dialout-trunk'
[Nov 21 15:33] VERBOSE[3827] logger.c: == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/201-b7901d00'
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [h@macro-dialout-trunk] Macro("SIP/201-b7901d00", "hangupcall") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] ResetCDR("SIP/201-b7901d00", "w") in new stack
[Nov 21 15:33] DEBUG[3827] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
[Nov 21 15:33] DEBUG[3827] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2007-11-21 15:33:04','\"Riccardo\" <201>','201','93480682585','from-internal', 'SIP/201-b7901d00','Zap/2-1','Dial','ZAP/2/3480682585|300|',21,16,'ANSWERED',3,'','1195655584.28')
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: ResetCDR
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] NoCDR("SIP/201-b7901d00", "") in new stack
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: NoCDR
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] GotoIf("SIP/201-b7901d00", "1?skiprg") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-hangupcall,s,6)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] GotoIf("SIP/201-b7901d00", "1?skipblkvm") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-hangupcall,s,9)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] GotoIf("SIP/201-b7901d00", "1?theend") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Goto (macro-hangupcall,s,11)
[Nov 21 15:33] DEBUG[3827] app_macro.c: Executed application: GotoIf
[Nov 21 15:33] VERBOSE[3827] logger.c: -- Executing [s@macro-hangupcall] Hangup("SIP/201-b7901d00", "") in new stack
[Nov 21 15:33] VERBOSE[3827] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-b7901d00' in macro 'hangupcall'
[Nov 21 15:33] VERBOSE[3827] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-b7901d00'
[Nov 21 15:33] VERBOSE[3826] logger.c: -- Remote UNIX connection disconnected
16 years 5 months ago #542 by james.zhu
hello, riccardocapra:
are you able to give me ssh account to check that? maybe it is a way to diagnose the problem for me. my MSN :[email protected].
Regs!
james.zhu

16 years 5 months ago #544 by riccardocapra
my msn: This email address is being protected from spambots. You need JavaScript enabled to view it..
I can open you an ssh connection when you'll contact me. I'm in Italy, so, we've to find out a time to meet each other.
16 years 5 months ago #548 by riccardocapra
Are you sure your driver work with Asterisk 1.4?
Time to create page: 0.063 seconds
Powered by Kunena Forum